
export function toContent(id){
  const route = this.$router.resolve({ name: 'text', query: { id: id } });
  window.open(route.href, '_blank');
}

export function toHomeContent(){
  this.$router.push({ name: 'home' });
}
